home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mobiclic 48
/
MOBICLIC 48.ISO
/
pc
/
DATA
/
COMMUNS
/
MENUBD.DIR
/
00040_Script_BOUCLES_SECONDAIRES
< prev
next >
Wrap
Text File
|
2002-07-23
|
952b
|
35 lines
-- boucles secondaires
global validMBD, rollMessBD, fermeMenuBD, ouvreMenuBD
global gNbStamps, gfirstStampTrackNo
--------------------------------------------
on exitFrame
if fermeMenuBD=1 then
fermerMenu
else
repeat with i=gfirstStampTrackNo to gfirstStampTrackNo + gNbStamps - 1
zeNoItem = i - gfirstStampTrackNo + 1
if rollOver(i) and validMBD[zeNoItem] =1 then
if i<>field "item" then
member("item").text = string(i)
rollMessBD = member("menuBDMsg").line[zeNoItem]
-- testImage i
end if
exit
end if
end repeat
rollMessBD = "nul"
-- testImage 1
end if
end
--------------------------------------
on testImage i
case(i>1) of
1:
zeNolabel = i - gfirstStampTrackNo + 2
go to frame label(string(zeNolabel))
0: go "1"
end case
end testImage
----------------------------------